import '../utils/RequestDio.dart';
import '../constants/index.dart';

// 社区公告列表
Future<dynamic> getAnnounceListAPI() =>
    RequestDio().get(HTTP_PATH.ANNOUNCEMENT);

// 社区公告详情
Future<dynamic> getAnnounceDetailAPI(String id) => RequestDio().get('${HTTP_PATH.ANNOUNCEMENT}/$id');

// 房屋列表
Future<dynamic> getHouseListAPI() => requestDio.get(HTTP_PATH.HOUSE_LIST);
